package com.stars.services.impl.system;/**
 * Created by luodajie on 2019/1/5.
 */

import com.stars.dao.mapper.system.SystemUserRelationMapper;
import com.stars.entity.sys.SystemUserRelation;
import com.stars.services.impl.BaseAccessServiceImpl;
import com.stars.services.system.UserRelationAccessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author :dj
 * @version : 1.0.0
 * @description
 * @Date 2019-01-05 12:33
 * @note
 */
@Service
public class UserRelationAccessServiceImpl extends BaseAccessServiceImpl<SystemUserRelationMapper, SystemUserRelation> implements UserRelationAccessService {
    @Autowired
    private SystemUserRelationMapper systemUserRelationMapper;
    @Override
    public SystemUserRelation findByRelationIdAndRoleId(SystemUserRelation command) throws Exception {
       return systemUserRelationMapper.findByRelationIdAndRoleId(command);
    }
}
